package com.test.ssm.article.service.impl;

import com.test.ssm.article.dao.SystemFunctionMapper;
import com.test.ssm.article.entity.vo.SystemFunctionItem;
import com.test.ssm.article.service.SystemFunctionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SystemFunctionServiceImpl implements SystemFunctionService {
    @Autowired
    private SystemFunctionMapper systemFunctionMapper;

    @Override
    public List<SystemFunctionItem> getAllSystemFunctionByRoleId(String roleId) {
        return systemFunctionMapper.getAllSystemFunctionByRoleId(roleId);
    }
}
